Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Security upgrade xmldom from 0.1.31 to 0.5.0 #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tyrasd
Copy link
Owner

@tyrasd tyrasd commented Mar 10, 2021

Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.

merge advice

Changes included in this PR

  • Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
    • package.json

Vulnerabilities that will be fixed

With an upgrade:
Severity Priority Score (*) Issue Breaking Change Exploit Maturity
medium severity 556/1000
Why? Recently disclosed, Has a fix available, CVSS 5.4
XML External Entity (XXE) Injection
SNYK-JS-XMLDOM-1084960
No No Known Exploit

(*) Note that the real score may have changed since the PR was raised.

Commit messages
Package name: xmldom The new version differs by 157 commits.
  • f763b00 xmldom version 0.5.0
  • d4201b9 Merge pull request from GHSA-h6q6-9hqw-rwfv
  • a4d717c Update MDN links in readme.md (#188)
  • e984b3f Update @ stryker-mutator/core -> ^4.4.1 - devDependencies (#184)
  • c762161 Update stryker monorepo (major) (#140)
  • fd47c51 Fix breaking preprocessors' directives when parsing attributes (#171)
  • baa67f5 Update xmltest -> ^1.5.0 - devDependencies (#182)
  • 64c7388 fix(dom): Escape `]]>` when serializing CharData (#181)
  • b73a965 Update eslint-config-prettier -> ^7.2.0 - devDependencies (#179)
  • 21bc17e Switch to (only) MIT license (#178)
  • ad773c9 test: Use toBe/toStrictEqual instead of toEqual (#175)
  • 23608d9 chore: Add karfau as contributor (#177)
  • dbd2171 Export DOMException; remove custom assertions; etc. (#174)
  • 8698e6b Update eslint-config-prettier -> 7 - devDependencies (#165)
  • 7aa75c7 Update nodemon -> ^2.0.7 - devDependencies (#170)
  • 8236db1 build(deps): bump node-notifier from 8.0.0 to 8.0.1 (#169)
  • 484005e Update eslint -> ^7.18.0 - devDependencies (#162)
  • c33b2f5 Update eslint-plugin-prettier -> ^3.3.1 - devDependencies (#164)
  • 5d13108 Update actions/setup-node action -> 2 - action (#167)
  • 7f32da6 Update prettier -> ^2.2.1 - devDependencies (#163)
  • d4040a7 build(deps): bump ini from 1.3.5 to 1.3.8 (#166)
  • f7b44d9 Update eslint -> ^7.12.1 - devDependencies (#157)
  • 7493052 Update jest -> ^26.6.3 - devDependencies (#161)
  • 2107a91 Update jest -> ^26.6.2 - devDependencies (#159)

See the full diff

Check the changes in this PR to ensure they won't cause issues with your project.


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report

🛠 Adjust project settings

📚 Read more about Snyk's upgrade and patch logic

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-XMLDOM-1084960
@udos
Copy link

udos commented Nov 21, 2021

it would be better to switch to @xmldom/xmldom to not be affected by this vulnerability.
note: also see xmldom/xmldom#271

@karfau
Copy link

karfau commented Dec 25, 2021

@udos Yes, that's correct, thx for pointing it out and linking our issue.

Since I'm a maintainer of xmldom, I'm also able to provide an upgrade PR. But since this repo didn't have a release or merged PR since 5 years I would only invest the time (here or in any fork) when there is some reply from a maintainer.
It's a pity since this tool still has some 3k downloads per week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants